# ...existing code...
import sqlite3
from pathlib import Path
p = Path(__file__).resolve().parents[1] / 'db' / 'autobuild.db'
print('db path:', p)
con = sqlite3.connect(p)
cur = con.cursor()
cur.execute("SELECT name FROM sqlite_master WHERE type='table';")
print('tables:', cur.fetchall())
con.close()
